package com.itxialu.reggie.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itxialu.reggie.entity.AddressBook;
import com.itxialu.reggie.mapper.AddressBookMapper;
import com.itxialu.reggie.service.AddressBookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AddressBookServiceImpl extends ServiceImpl<AddressBookMapper, AddressBook> implements AddressBookService {

    @Autowired
    private AddressBookService addressBookService;

    //删除地址
    @Override
    public void removeAddress(long ids) {
        addressBookService.removeById(ids);
    }
}
